Method and an apparatus for a waveform quality measurement

ABSTRACT

A method and an apparatus for waveform quality measurement are disclosed. An actual signal, representing a waveform channelized both in time and in code is generated by, e.g., an exemplary HDR communication system. Test equipment generates an ideal waveform corresponding to the actual waveform. The test equipment then generates an estimate of offsets between parameters of the actual waveform and the ideal waveform, and the offsets are used to compensate the actual waveform. The test equipment then evaluates various waveform quality measurements utilizing the compensated actual waveform and the corresponding ideal waveform. Definitions of the various waveform quality measurements as well as conceptual and practical examples of processing of the actual waveform and the corresponding ideal waveform by the test equipment are disclosed. The disclosed method and apparatus may be extended to any waveform channelized both in time and in code regardless of the equipment that generated the waveform.

CLAIM OF PRIORITY UNDER 35 U.S.C. §120

[0001] The present Application for Patent is a Continuation and claims priority to patent application Ser. No. 09/738,586, entitled “METHOD AND AN APPARATUS FOR A WAVEFORM QUALITY MEASUREMENT” filed Dec. 14, 2000, now allowed, and assigned to the assignee hereof and hereby expressly incorporated by reference herein.

BACKGROUND

[0002] 1. Field

[0003] The current invention relates to quality assurance. More particularly, the present invention relates to a method and apparatus for waveform quality measurement.

[0004] 2. Background

[0005] Recently, communication systems have been developed to allow transmission of signals from an origination station to a physically distinct destination station. In transmitting signals from the origination station over a communication link, the signal is first converted into a form suitable for efficient transmission over the communication link. As used herein, the communication link comprises a medium over which a signal is transmitted. Conversion, or modulation, of the signal involves varying a parameter of a carrier wave in accordance with the signal in such a way that the spectrum of the resulting modulated carrier is confined within the communication link bandwidth. At the destination station the original signal is replicated from a version of the modulated carrier received over the communication link. Such a replication is generally achieved by using an inverse of the modulation process employed by the origination station.

[0006] Modulation also facilitates multiple-access, i.e., simultaneous transmission and/or reception, of several signals over a common communication link. Multiple-access communication systems often include a plurality of remote subscriber units requiring intermittent service of relatively short duration rather than continuous access to the common communication link. Several multiple-access techniques are known in the art, such as time division multiple-access (TDMA), frequency division multiple-access (FDMA), and amplitude modulation (AM). Another type of a multiple-access technique is a code division multiple-access (CDMA) spread spectrum system that conforms to the “TIA/ELA/IS-95 Mobile Station-Base Station Compatibility Standard for Dual-Mode Wide-Band Spread Spectrum Cellular System,” hereinafter referred to as the IS-95 standard. The use of CDMA techniques in a multiple-access communication system is disclosed in U.S. Pat. No. 4,901,307, entitled “SPREAD SPECTRUM MULTIPLE-ACCESS COMMUNICATION SYSTEM USING SATELLITE OR TERRESTRIAL REPEATERS,” and U.S. Pat. No. 5,103,459, entitled “SYSTEM AND METHOD FOR GENERATING SIGNAL WAVEFORMS IN A CDMA CELLULAR TELEPHONE SYSTEM,” both assigned to the assignee of the present invention and incorporated herein by reference.

[0007]FIG. 1 illustrates an ideal waveform 100 of an embodiment of a code division communication system in accordance with the IS-95 standard. For the purposes of this document, a waveform is a manifestation, representation or visualization of a wave, pulse or transition. The idealized waveform 100 comprises parallel channels 102 distinguished from one another by a cover code. The cover code in a communication system according to the IS-95 standard comprises Walsh codes. The ideal waveform 100 is then quadrature spreaded, baseband filtered and upconverted on a carrier frequency. The resulting modulated waveform 100, is expressed as: $\begin{matrix} {{s(t)} = {\sum\limits_{i}{{R_{i}(t)}^{{- j}\quad \omega_{c}t}}}} & (1) \end{matrix}$

[0008] where:

[0009] ω_(c) is the nominal carrier frequency of the waveform;

[0010] i is the index of the code channels summation; and

[0011] R_(i)(t) is the complex envelope of the ideal i-th code channel.

[0012] Equipment, e.g., a transmitter of the code division communication system, generates actual waveform x(t) that is different from the ideal waveform. Such an actual waveform x(t) is expressed as: $\begin{matrix} {{x(t)} = {\sum\limits_{i}{{b_{i}\left\lbrack {{R_{i}\left( {t + \tau_{i}} \right)} + {E_{i}(t)}} \right\rbrack} \cdot ^{- {j{\lbrack{{{({\omega_{c} + {\Delta \quad \omega}})}{({t + \tau_{i}})}} + \theta_{i}}\rbrack}}}}}} & (2) \end{matrix}$

[0013] where:

[0014] b_(i) is the amplitude of the ideal waveform relative to the ideal waveform for the i_(th) code channel;

[0015] τ_(i) is the time offset of the ideal waveform relative to the ideal waveform for the i_(th) code channel;

[0016] Δωis the radian frequency offset of the signal;

[0017] θ_(i) is the phase offset of the ideal waveform relative to the ideal waveform for the i_(th) code channel; and

[0018] E_(i)(t) is the complex envelope of the error (deviation from ideal) of the actual transmit signal for the i-th code channel.

[0019] The difference between the ideal waveform s(t) and the actual waveform x(t) is measured in terms of frequency tolerance, pilot time tolerance, and waveform compatibility. One method to perform such a measurement is to determine modulation accuracy defined as a fraction of power of the actual waveform x(t) that correlates with the ideal waveform s(t), when the transmitter is modulated by the code channels. The modulation accuracy is expressed as: $\begin{matrix} {\rho_{overall} = \frac{\int_{T_{1}}^{T_{2}}{{{{s(t)} \cdot {x(t)}^{*}}} \cdot {t}}}{\left\{ {\int_{T_{1}}^{T_{2}}{{{s(t)}}^{2} \cdot {t}}} \right\} \cdot \left\{ {\int_{T}^{T_{2}}{{{x(t)}}^{2} \cdot {t}}} \right\}}} & (3) \end{matrix}$

[0020] where:

[0021] T₁ is beginning of the integration period; and

[0022] T₂ is the end of the integration period.

[0023] For discrete time systems, where s(t) and x(t) are sampled at ideal sampling points t_(k), Equation 3 can be written as: $\begin{matrix} {\rho_{overall} = \frac{\sum\limits_{k = 1}^{N}{{S_{k} \cdot X_{k}^{*}}}^{2}}{\left\{ {\sum\limits_{k = 1}^{N}{S_{k}}^{2}} \right\} \cdot \left\{ {\sum\limits_{k = 1}^{N}{X_{k}}^{2}} \right\}}} & (4) \end{matrix}$

[0024] where:

[0025] X_(k)=x[k]=x(t_(k)) is k_(th) sample of the actual waveform; and

[0026] S_(k)=s[k]=s(t_(k)) is the corresponding k_(th) sample of the ideal waveform.

[0027] A multiple-access communication system may carry voice and/or data. An example of a communication system carrying both voice and data is a system in accordance with the IS-95 standard, which specifies transmitting voice and data over the communication link. A method for transmitting data in code channel frames of fixed size is described in detail in U.S. Pat. No. 5,504,773, entitled “METHOD AND APPARATUS FOR THE FORMATTING OF DATA FOR TRANSMISSION,” assigned to the assignee of the present invention and incorporated by reference herein. In accordance with the IS-95 standard, the data or voice is partitioned into code channel frames that are 20 milliseconds wide with data rates as high as 14.4 Kbps. Additional examples of communication systems carrying both voice and data comprise communication systems conforming to the “3rd Generation Partnership Project” (3GPP), embodied in a set of documents including Document Nos. 3G TS 25.211, 3G TS 25.212, 3G TS 25.213, and 3G TS 25.214 (the W-CDMA standard), or “TR-45.5 Physical Layer Standard for cdma2000 Spread Spectrum Systems” (the IS-2000 standard). Such communication systems use a waveform similar to the one discussed above.

[0028] Recently, a data only communication system for a high data rate (HDR) transmission has been developed. Such a communication system has been disclosed in co-pending application Ser. No. 08/963,386, entitled “METHOD and apparatus FOR HIGH RATE PACKET DATA transmission,” filed Nov. 3, 1997, now U.S. Pat. No. 6,574,211B2, issued on Jun. 3, 2003, assigned to the assignee of the present invention and incorporated by reference herein. The HDR communication system defines a set of data rates, ranging from 38.4 kbps to 2.4 Mbps, at which an origination terminal (access point, AP) may send data packets to a receiving terminal (access terminal, AT). The HDR system utilizes a waveform with channels distinguished both in time domain and code domain.

[0029]FIG. 2 illustrates such a waveform 200, modeled after a forward link waveform of the above-mentioned HDR system. The waveform 200 is defined in terms of frames 202. (Only frames 202 a, 202 b, and 202 c are shown in FIG. 2.) In an exemplary embodiment, a frame comprises 16 time slots 204, each time slot 204 being 2048 chips long, corresponding to a 1.67 millisecond slot duration, and, consequently, a 26.67 ms frame duration. Each slot 204 is divided into two half-slots 204 a and 204 b, with pilot bursts 206 a and 206 b transmitted within each half-slot 204 a and 204 b. In an exemplary embodiment, each pilot burst 206 a and 206 b is 96 chips long, and is centered at the mid-point of its associated half-slot 204 a and 204 b. The pilot bursts 206 a and 206 b comprise a pilot channel signal covered by a Walsh cover with index 0. The pilot channel is used for synchronization purposes. A forward medium access control channel (MAC) 208 forms two bursts 208 a and two bursts 208 b of a length of 64 chips each. The MAC bursts 208 a and 208 b are transmitted immediately before and immediately after the pilot bursts 206 a and 206 b of each slot 204. In an exemplary embodiment, the MAC is composed of up to 63 code channels, which are orthogonally covered by 64-ary Walsh codes. Each code channel is identified by a MAC index, which has a value between 0 and 63 and identifies the unique 64-ary Walsh cover. The MAC indexes 0 and 1 are reserved. A reverse power control channel (RPC) is used to regulate the power of the reverse link signals for each subscriber station. The RPC is assigned to one of the available MACs with MAC index 5-63. The MAC with MAC index 4 is used for a reverse activity channel (RA), which performs flow control on a reverse traffic channel. The forward link traffic channel and control channel payload is sent in the remaining portions 210 a of the first half-slot 204 a and the remaining portions 210 b of the second half-slot 204 b. The forward traffic channel and control channel data are encoded, scrambled, and interleaved. The interleaved data are modulated, repeated, and punctured, as necessary. Then, the resulting sequences of modulation symbols are demultiplexed to form 16 pairs (in-phase and quadrature) of parallel streams. Each of the parallel streams is covered with a distinct 16-ary Walsh cover, yielding a code-distinguished channel 212.

[0030] The ideal waveform 200 is then quadrature spreaded, baseband-filtered and upconverted on a carrier frequency. The resulting modulated waveform 200, is expressed as: $\begin{matrix} {{s(t)} = {\sum\limits_{i{(t)}}{{R_{i}(t)}\quad ^{{- j}\quad \omega_{c}t}}}} & (5) \end{matrix}$

[0031] where:

[0032] ω_(c) is the nominal carrier frequency of the waveform;

[0033] i(t) is the index of the code channels. The index is time dependent as the number of code channels varies with time; and

[0034] R_(i)(t) is the complex envelope of the ideal i-th code channel, given as: $\begin{matrix} {{R_{i}(t)} = {a_{i}\left\lbrack {{\sum\limits_{k}{{g\left( {t - {kT}_{c}} \right)}{\cos \left( \varphi_{i,k} \right)}}} + {j{\sum\limits_{k}{{g\left( {t - {kT}_{c}} \right)}{\sin \left( \varphi_{i,k} \right)}}}}} \right\rbrack}} & (6) \end{matrix}$

[0035] where:

[0036] a_(i) is the amplitude of the ith code channel;

[0037] g(t) is the unit impulse response of the baseband transmit filter;

[0038] φ_(i,k) is the phase of the kth chip for the ith code channel, occurring at discrete time t_(k)=kT_(c).

[0039] T_(c) is a chip duration.

[0040] The transmitter of the HDR communication system generates an actual waveform x(t), given as: $\begin{matrix} {{x(t)} = {\sum\limits_{i{(t)}}{{b_{i}\left\lbrack {{R_{i}\left( {t + \tau_{i}} \right)} + {E_{i}(t)}} \right\rbrack} \cdot ^{- {j\quad\lbrack{{{({\omega_{c} + {\Delta \quad \omega}})}{({t + \tau_{i}})}} + \theta_{i}}\rbrack}}}}} & (7) \end{matrix}$

[0041] where

[0042] b_(i) is the amplitude of the ideal waveform relative to the ideal waveform for the i_(th) code channel;

[0043] τ_(i) is the time offset of the ideal waveform relative to the ideal waveform for the i_(th) code channel;

[0044] Δω is the radian frequency offset of the signal;

[0045] θ_(i) is the phase offset of the ideal waveform relative to the ideal waveform for the i_(th) code channel; and

[0046] E_(i)(t) is the complex envelope of the error (deviation from ideal) of the actual transmit signal for the i-th code channel.

[0047] Based on the complex time domain and code domain channelization of the waveform 200, the waveform quality measurement methods based on code domain channelization are inapplicable. Consequently, there is a need in the art for a method and an apparatus for a waveform quality measurement for waveforms channelized both in time domain and code domain.

SUMMARY

[0048] The present invention is directed to a novel method and apparatus for waveform quality measurement. According to the method, an actual signal, representing a waveform divided into channels both in time domain and in code domain is generated. Such an actual waveform can be generated, for example, by a communication system. Test equipment generates an ideal waveform corresponding to the actual waveform. The test equipment then generates an estimate of offsets between parameters of the actual waveform and the ideal waveform, and uses the offsets to compensate the actual waveform. In one embodiment, overall modulation accuracy is evaluated in accordance with the compensated ideal waveform and the ideal waveform.

[0049] In another embodiment, modulation accuracy for a particular time division channel of the waveform is evaluated. The compensated actual waveform is processed to provide the particular time division channel. In one implementation, the processing comprises assigning the compensated actual signal a value that is non-zero in intervals where the particular time division channel is defined and non-zero elsewhere. In another implementation, the processing comprises a multiplication of the compensated actual waveform by a function with a value that is non-zero in intervals where the particular time division channel is defined and zero elsewhere. In one implementation, the ideal waveform is processed in the same manner. In another implementation, the ideal waveform containing the particular time division channel is generated directly. The modulation accuracy for the particular time division channel is evaluated in accordance with the processed compensated actual waveform and the processed ideal waveform.

[0050] In yet another embodiment, code domain power coefficients for a particular code channel are evaluated. The particular time division channel, which contains the particular code channel of the compensated actual waveform, is obtained according to the above-described methods. In one implementation, the ideal waveform is processed in the same manner. In another implementation, the ideal waveform containing the particular code channel of the particular time division channel is generated directly. The modulation accuracy for the particular time division channel is evaluated in accordance with the processed compensated actual waveform and the processed ideal waveform.

BRIEF DESCRIPTION OF THE DRAWINGS

[0051] The features, objects, and advantages of the present invention will become more apparent from the detailed description set forth below when taken in conjunction with the drawings in which like reference characters identify correspondingly throughout and wherein:

[0052]FIG. 1 illustrates an idealized waveform of a code division communication system;

[0053]FIG. 2 illustrates an idealized waveform of an HDR communication system; and

[0054]FIG. 3 illustrates a concept of an apparatus capable of implementing waveform quality measurement in accordance with the principles of this invention.

DETAILED DESCRIPTION

[0055]FIG. 3 illustrates a concept of an apparatus capable of implementing waveform quality measurement for waveforms channelized both in time domain and in code domain, such as the exemplary waveform 200 from FIG. 2.

[0056] In one embodiment, actual signal x(t) (representing waveform 200 from FIG. 2) enters compensation block 302. The compensation block 302 is also provided with estimates of offsets of the actual waveform x(t) with respect to an ideal waveform s(t) from an optimization block 304. The compensation block 302 uses the offset estimates to provide a compensated waveform y(t). The compensated waveform y(t) is provided to a downconversion block 306. The downconverted signal is then provided to an optional sampling block 308. The sampled waveform zs[k] is provided to an optional baseband transformation block 310. The output waveform z[k] from the optional baseband transformation block 310 is provided to a processing block 312.

[0057] In one embodiment, the ideal waveform s(t) is generated by a signal generator 314. The ideal waveform s(t) is provided to an optional sampling block 316. The sampled waveform ss[k] is provided to an optional baseband transformation block 318. The output waveform r[k] from the optional baseband transformation block 318 is provided to a processing block 312. In another embodiment, the signal generator 314 generates the digital waveform r[k] directly. Therefore, in such an embodiment, the sampling block 316 and the optional baseband transformation block 318 are not needed.

[0058] The processing block 312 uses signals z[k] and r[k] to calculate waveform characteristics.

[0059] As discussed, the actual waveform x(t) will be offset from the ideal waveform s(t) in frequency, time and phase. The waveform quality measurement is determined for the best alignment between the actual waveform x(t) will be offset from the ideal waveform s(t). Consequently, the waveform quality measurement is evaluated for a plurality of combinations of frequency, time, and phase offsets, and the maximum of such evaluations is taken as a figure of merit. The function of optimization block 304 is to generate the plurality of combinations of frequency, time, and phase offsets.

[0060] The function of the compensation block 302 is to operate on the waveform x(t) to provide compensated waveform y(t), given by Equation 7:

y(t)=x(t−{circumflex over (τ)} ₀)e ^(j[Δ{circumflex over (ω)}·t+{circumflex over (θ)}) ^(₀) ^(])  (8)

[0061] where:

[0062] Δ{circumflex over (ω)}—an estimate of radian frequency offset of the signal x(t) with respect to signal s(t);

[0063] {circumflex over (τ)}₀—an estimate of time offset of the signal x(t) with respect to signal s(t);

[0064] {circumflex over (θ)}₀—an estimate of phase offset of the signal x(t) with respect to signal s(t).

[0065] The Δ{circumflex over (ω)}, {circumflex over (τ)}₀, {circumflex over (θ)}₀, are provided to the compensation block 302 by the optimization block 304.

[0066] As discussed, the waveform x(t) was upconverted on a carrier frequency, the purpose of the downconversion block 306 is to downconvert the compensated waveform y(t) to a baseband waveform z(t).

[0067] In one embodiment, the optional sampling block 308 creates discrete version z[k] of the waveform z(t) by sampling the waveform z(t) at the ideal sampling points t_(k):

z[k]=z(t _(k));∀k  (9)

[0068] In another embodiment, the optional sampling block 308 is omitted and the sampling is performed by the processing block 312 after baseband transformation.

[0069] As discussed, the waveform 200 is baseband filtered before transmission. Consequently, the optional baseband transformation block 310 is utilized to remove inter-symbol interference (ISI) introduced by the transmitter filter. To accomplish this, the transfer function of the baseband transformation block 310 is an inverse complex conjugate of the transfer function of the ideal transmitter filter.

[0070] The processing block 312 operates on the signals z[k] and r[k] to provide the required waveform quality measurement as described in detail below. In one embodiment, when the optional sampling block 308 has been omitted, the processing block 312 creates a discrete z[k] version of the signal z(t) by sampling the signal z(t) at the ideal sampling points tk in accordance with Equation 9.

[0071] Considering the above-described apparatus, one of ordinary skills in the art will be able to modify the block schematics to different representation of the waveforms x(t) and s(t). For example, if the waveform x(t) is represented as a baseband signal in a digital domain, a downconversion block 306 and an optional sampling block 308 need not be present. Furthermore, if the waveform x(t) has not been filtered, an optional baseband transformation block 310 need not be present. Furthermore, one of ordinary skills in the art will be able to modify the block schematics according to a type of measurement to be performed. For example, if an effect of a baseband filter is to be ascertained, the baseband transformation blocks 310 and 318 would be omitted; thus, the processing block 312 would be provided with the ideal waveform and the ideal waveform from sampling blocks 308 and 316.

[0072] Modulation Accuracy Measurement

[0073] Modulation accuracy is defined as a fraction of power in the actual waveform z[k] that correlates with the ideal waveform r[k], when the transmitter is modulated by at least one channel in the waveform.

[0074] An overall modulation accuracy is defined as a fraction of power in the actual waveform z[k] that correlates with the ideal waveform r[k] when the transmitter is modulated by all the channels in the waveform. In the exemplary embodiment of the HDR communication system, these channels comprise the Pilot Channel, the MAC Channel and the Forward Traffic or Control Channel. The first overall modulation accuracy is defined as follows: $\begin{matrix} {\rho_{{overall}\text{-}1} = \frac{N \cdot {\sum\limits_{j = 1}^{N}{{\sum\limits_{k = 1}^{M}{Z_{j,k}R_{j,k}^{*}}}}^{2}}}{\left\{ {\sum\limits_{j = 1}^{N}{\sum\limits_{k = 1}^{M}{R_{j,k}}^{2}}} \right\} \cdot \left\{ {\sum\limits_{j = 1}^{N}{\sum\limits_{k = 1}^{M}{Z_{j,k}}^{2}}} \right\}}} & (10) \end{matrix}$

[0075] where:

[0076] ρ_(overall−1)is the first overall modulation accuracy;

[0077] j is an index designating an elementary unit of a waveform;

[0078] N is a summation limit designating number of elementary units;

[0079] k is an index designating a sample in the elementary unit;

[0080] M is a summation limit designating number of samples in the elementary unit;

[0081] Z_(j,k)=z[M(j−1)+k] is a k_(th) sample in the j_(th) elementary unit of the actual waveform; and

[0082] R_(j,k)=r[M(j−1)+k] is a kth sample in the ith elementary unit of the ideal waveform.

[0083] An elementary unit is defined as a minimum waveform span defining a complete channel structure. The value of the summation limit N is chosen so that a noise variance of the measurement is below a required value.

[0084] Applying Equation 10 to the waveform 200 of a forward link of the HDR system, the elementary unit is a half-slot; consequently, the summation limit M=1024. The first sample, z(t1), occurs at the first chip of a half slot and the final sample, z(t1024N), occurs at the last chip of a half slot. The value of the summation limit N has been determined to be at least 2.

[0085] The first overall modulation accuracy fails to account for possible discontinuities of parameters of the waveform on the borders of the elementary units. Consequently, a second overall modulation accuracy is defined as follows: $\begin{matrix} {\rho_{{overall}\text{-}2} = \frac{N \cdot {\sum\limits_{j = 1}^{N}{{\sum\limits_{k = {\frac{M}{2} + 1}}^{M + \frac{M}{2} + 1}{Z_{j,k}R_{j,k}^{*}}}}^{2}}}{\left\{ {\sum\limits_{j = 1}^{N}{\sum\limits_{k = {\frac{M}{2} + 1}}^{M + \frac{M}{2} + 1}{R_{j,k}}^{2}}} \right\} \cdot \left\{ {\sum\limits_{j = 1}^{N}{\sum\limits_{k = {\frac{M}{2} + 1}}^{M + \frac{M}{2} + 1}{Z_{j,k}}^{2}}} \right\}}} & (11) \end{matrix}$

[0086] where:

[0087] ρ_(overall−2) is the second overall modulation accuracy;

[0088] j is an index designating an elementary unit of a waveform;

[0089] N is a summation limit designating number of elementary units;

[0090] k is an index designating a sample in the elementary unit;

[0091] M is a summation limit designating number of samples in the elementary unit; $Z_{j,k} = {z\left\lbrack {{\left( {M + \frac{M}{2} + 1} \right) \cdot \left( {j - 1} \right)} + k} \right\rbrack}$

[0092] is a k_(th) sample in the j_(th) elementary unit of the actual waveform; and $R_{j,k} = {r\left\lbrack {{\left( {M + \frac{M}{2} + 1} \right) \cdot \left( {j - 1} \right)} + k} \right\rbrack}$

[0093] is a k_(th) sample in the j_(th) elementary unit of the ideal waveform.

[0094] Applying Equation 11 to the waveform 200 of a forward link of the HDR system, the elementary unit is a half-slot; consequently, the summation limit M=1024. The first sample, z(t531), occurs at the 513th chip of a half slot and the final sample, z(t1536N), occurs at the 513th chip of the last half slot. The value of the summation limit N has been determined to be at least 2.

[0095] A time division channel (TD_channel) modulation accuracy is defined as a fraction of power in the actual waveform z[k] that correlates with the ideal waveform r[k] when the transmitter is modulated by the particular TD_channel in the waveform. In the exemplary embodiment of the HDR communication system, the channels comprise the Pilot Channel, the MAC Channel and the Forward Traffic or Control Channel. The TD_channel modulation accuracy is defined as follows: $\begin{matrix} {\rho_{TD\_ channel} = \frac{N \cdot {\sum\limits_{j = 1}^{N}{{\sum\limits_{k = 1}^{M}{Z_{j,k}R_{j,k}^{*}}}}^{2}}}{\left\{ {\sum\limits_{j = 1}^{N}{\sum\limits_{k = 1}^{M}{R_{j,k}}^{2}}} \right\} \cdot \left\{ {\sum\limits_{j = 1}^{N}{\sum\limits_{k = 1}^{M}{Z_{j,k}}^{2}}} \right\}}} & (12) \end{matrix}$

[0096] where:

[0097] ρ_(TD) _(—) _(channel) is the modulation accuracy for the time division channel identified by an index TD_channel;

[0098] j is an index designating an elementary unit of a waveform;

[0099] N is a summation limit designating number of elementary units;

[0100] k is an index designating a sample in the elementary unit;

[0101] M is a summation limit designating number of samples in the elementary unit;

[0102] Z_(j,k)=z[M(j−1)+k] is a k_(th) sample in the j_(th) elementary unit of the actual TD_channel; and

[0103] R_(j,k)=r[M(j−1)+k] is a kth sample in the j_(th) elementary unit of the ideal TD_channel.

[0104] The concept of processing the actual waveform z[k] and the ideal waveform r[k] to obtain a particular TD_channel is described next. A function g_(TD) _(—) _(channel) is defined: $\begin{matrix} {{g_{TD\_ channel}\lbrack k\rbrack} = \left\{ \begin{matrix} 1 & {{if}\quad \left\{ \begin{matrix} {m_{1} \leq \left( {k\quad {mod}\quad L} \right) \leq m_{2}} \\ {m_{3} \leq \left( {k\quad {mod}\quad L} \right) \leq m_{4}} \\ \vdots \\ {m_{n - 1} \leq \left( {k\quad {mod}\quad L} \right) \leq m_{n}} \end{matrix} \right.} \\ 0 & {elsewhere} \end{matrix} \right.} & (13) \end{matrix}$

[0105] where:

[0106] m_(p)≦(k mod L≦m_(p+1)) for p=1,2, . . . n, defines intervals where the waveform is nonzero for the particular TD_channel; and

[0107] L interval of an elementary unit of the signal z[k].

[0108] Then, the actual waveform z[k] and the ideal waveform r[k] are multiplied by the function g_(TD) _(—) _(channel) [k], to yield the particular TD_channels:

z′[k]=z[k]·g _(TD) _(—) _(channel) [k]

r′[k]=r[k]·g _(TD) _(—) _(channel) [k]  (14)

[0109] One of ordinary skills in the art will understand that the implementation of the concept can vary. In one embodiment, the processing is implemented as a multiplication of the waveform by a function with a value that is non-zero in intervals where the particular time division channel is defined and zero elsewhere. In another embodiment, the processing comprises assigning the waveform a value that is non-zero in intervals to where the particular time division channel and zero elsewhere. In yet another embodiment, the processing unit, implementing Equation (12) is configured to carry the internal summations as follows: $\begin{matrix} {\sum\limits_{k = 1}^{M}{= {{\sum\limits_{m_{1}}^{m_{2}}{+ {\sum\limits_{m_{3}}^{m_{4}}{+ \ldots}}}} + \sum\limits_{m_{n - 1}}^{m_{n}}}}} & (15) \end{matrix}$

[0110] where:

[0111] m_(p)≦(k mod L≦m_(p+1)) for p=1,2, . . . n, defines interval where the waveform is nonzero for the particular TD_channel; and

[0112] L interval of an elementary unit of the signals z[k] and r[k].

[0113] Code Domain Measurement

[0114] Code domain power is defined as a fraction of power of the signal z(^(t)k) that correlates with each code channel R_(i)(t_(k)) when the transmitter is modulated according to a known code symbol sequence. The concept of processing the waveform to obtain each code channel R_(i)(t_(k)) is described next. First, a particular TD_channel containing each code channel R_(i)(t_(k)) is obtained, utilizing any of the above-outlined methods. For example, Equation 13 is used to obtain function g_(TD) _(—) _(channel)[k] for the particular TD_channel. The function g_(TD) _(—) _(channel)[k] is then used to operate on the actual waveform z[k] and the i-th code channel R_(i)[k] of the ideal signal r[k] to obtain waveforms:

z′[k]=z[k]·g _(TD) _(—) _(channel) [k]

R _(i) ′[k]=R _(i) [k]·g _(TD) _(—) _(channel) [k]  (16)

[0115] The waveform quality code domain power coefficients ρTD_channel,i for the particular TD_channel are then defined for each code channel R_(i)(t_(k)) as follows: $\begin{matrix} {{\rho_{{TDM\_ channel},i} = \frac{N \cdot {\sum\limits_{j = 1}^{N}{{\sum\limits_{k = 1}^{M}{Z_{j,k}R_{i,j,k}^{\prime*}}}}^{2}}}{\left\{ {\sum\limits_{j = 1}^{N}{\sum\limits_{k = 1}^{M}{R_{i,j,k}^{\prime}}^{2}}} \right\} \cdot \left\{ {\sum\limits_{j = 1}^{N}{\sum\limits_{k = 1}^{M}{Z_{j,k}}^{2}}} \right\}}},{i = w_{1}},\ldots \quad,w_{v}} & (17) \end{matrix}$

[0116] where:

[0117] ρ_(TDM) _(—) _(channel,i) is the code domain coefficient for a time division channel identified by an index TD_channel and a code channel R_(i)[k] identified by index i;

[0118] w₁ is a first code channel for the time division channel TDM_channel;

[0119] w_(v) is a last code channel for time division channel TDM_channel;

[0120] j is an index designating an elementary unit of waveforms;

[0121] N is a summation limit designating a number of elementary units;

[0122] k is an index designating a sample in the elementary unit;

[0123] M is a summation limit designating number of samples in the elementary units;

[0124] Z_(j,k)=Z[M(j−1)+k] is a kth sample in the jth elementary unit of the filtered signal; and

[0125] R_(i,j,k)′=R_(i′[M (j−)1)+k] is a kth sample in the jth elementary unit of the i-th code channel of the ideal signal.

[0126] For example, applying the above-described method to evaluate ρ_(MAC,i), of the waveform 200 of a forward link of the HDR system, the elementary unit is a half-slot; consequently, the summation limit M=1024. From Equation (13) and FIG. 2: $\begin{matrix} {{g_{MAC}\lbrack k\rbrack} = \left\{ \begin{matrix} 1 & {{if}\quad \left\{ \begin{matrix} {401 \leq \left( {k\quad {mod}\quad 1024} \right) \leq 464} \\ {561 \leq \left( {k\quad {mod}\quad 1024} \right) \leq 624} \end{matrix} \right.} \\ 0 & {elsewhere} \end{matrix} \right.} & (18) \end{matrix}$

[0127] where (k mod 1024)=1 occurs at the first chip of every half slot. Then, Equation (16) yields:

z′[k]=z[k]·g _(MAC) [k]

R _(i′[) k]=R _(i) [k]·g _(MAC) [k]  (19)

[0128] The following code domain power coefficients ρ_(MAC,i) are defined for the MAC Channel by Equation (17): $\begin{matrix} {{\rho_{{MAC},i} = \frac{N \cdot {\sum\limits_{j = 1}^{N}{{\sum\limits_{k = 1}^{1024}{Z_{j,k}^{''}R_{i,j,k}^{''*}}}}^{2}}}{\left\{ {\sum\limits_{j = 1}^{N}{\sum\limits_{k = 1}^{1024}{R_{i,j,k}^{''}}^{2}}} \right\} \cdot \left\{ {\sum\limits_{j = 1}^{N}{\sum\limits_{k = 1}^{1024}{Z_{j,k}^{''}}^{2}}} \right\}}},{i = 2},\ldots \quad,63} & (20) \end{matrix}$

[0129] The value of N for the measurement of ρ_(MAC,i) for i≠4 has been determined to be at least 16. The first sample, z(t₁), occurs at the first chip of a half slot and the final sample, z(t_(1024N)), occurs at the last chip of a half slot.

[0130] Those of skill in the art would understand that the various illustrative logical blocks, modules, circuits, and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or combinations of both. The various illustrative components, blocks, modules, circuits, and steps have been described generally in terms of their functionality. Whether the functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the overall system. Skilled artisans recognize the interchangeability of hardware and software under these circumstances, and how best to implement the described functionality for each particular application.

[0131] As examples, the various illustrative logical blocks, modules, circuits, and algorithm steps described in connection with the embodiments disclosed herein may be implemented or performed with a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic device, discrete gate or transistor logic, discrete hardware components, such as, e.g., registers and FIFO, a processor executing a set of firmware instructions, any conventional programmable software module and a processor, or any combination thereof. The processor may advantageously be a microprocessor, but in the alternative, the processor may be any conventional processor, controller, microcontroller, or state machine. The software module could reside in RAM memory, flash memory, ROM memory, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art. Those of skill would further appreciate that the data, instructions, commands, signals, bits, symbols, and chips that may be referenced throughout the above description are advantageously represented by voltages, currents, electromagnetic waves, magnetic fields or particles, optical fields or particles, or any combination thereof.

[0132] The previous description of the preferred embodiments, using communication systems to exemplify measurement of waveform quality, is provided to enable any person skilled in the art to make or use the present invention. The various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without the use of the inventive faculty. Specifically, one of ordinary skills in the art will understand that the generic principles disclosed apply equally to any like waveform regardless of the equipment that generated the waveform. Thus, the present invention is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein. 

What is claimed is:
 1. A waveform quality measurement apparatus, comprising: means for providing a plurality of offsets of parameters of an actual signal with respect to an ideal signal; means for compensating the actual signal with the plurality of offsets to generate a compensated actual signal; means for filtering the compensated actual signal to generate a filtered signal; means for modifying the ideal signal to correspond to the filtered signal to generate a modified signal; and means for determining the waveform quality measurement in accordance with the modified ideal signal and the filtered signal.
 2. The apparatus of claim 1, wherein the means for providing a plurality of offsets comprises means for providing a frequency offset, a time offset, and a phase offset.
 3. The apparatus of claim 1, wherein the means for compensating the actual signal with the plurality of offsets comprises means for compensating in accordance with the following equation: y(t)=x(t−{circumflex over (τ)} ₀)e ^(j[Δ{circumflex over (ω)}·t+{circumflex over (θ)}) ^(₀) ^(]) where: y(t) is the compensated actual signal; x(t) is the actual signal; t is time; j is an imaginary unit; Δ{circumflex over (ω)}is the frequency offset; {circumflex over (τ)}₀ is the time offset; and {circumflex over (θ)}₀ is the phase offset.
 4. The apparatus of claim 1, wherein the means for filtering comprises means for assigning the compensated actual signal a value that is zero in intervals to be filtered and non-zero elsewhere.
 5. The apparatus of claim 4, wherein the means for filtering comprises means for assigning the compensated actual signal a value that is non-zero over an elementary unit of the actual signal.
 6. The apparatus of claim 4, wherein the means for assigning the compensated actual signal value comprises: means for defining a function with a value that is zero in intervals to be filtered and non-zero elsewhere; and means for multiplying the compensated actual signal by the function.
 7. The apparatus of claim 6, wherein the means for defining a function comprises means for defining a function with a value that is non-zero over an elementary unit of the actual signal.
 8. The apparatus of claim 1, wherein the means for modifying the ideal signal comprises means for generating the modified ideal signal to have a value that is zero in intervals where the filtered signal has a value of zero and non-zero elsewhere.
 9. The apparatus of claim 1, wherein the means for modifying the ideal signal comprises means for assigning the ideal signal a value that is zero in intervals where the filtered signal has a value of zero and non-zero elsewhere.
 10. The apparatus of claim 9, wherein the means for assigning the ideal signal a value comprises: means for defining a function with a value that is zero in intervals where the filtered signal has a value of zero and non-zero elsewhere; and means for multiplying the compensated actual signal by the function.
 11. The apparatus of claim 5, wherein the means for determining the waveform quality comprises means for calculating a first overall modulation accuracy.
 12. The apparatus of claim 11, wherein the means for calculating a first modulation accuracy comprises means for calculating in accordance with the following equation: $\rho_{{overall}\text{-}1} = \frac{N \cdot {\sum\limits_{j = 1}^{N}{{\sum\limits_{k = 1}^{M}{Z_{j,k}R_{j,k}^{*}}}}^{2}}}{\left\{ {\sum\limits_{j = 1}^{N}{\sum\limits_{k = 1}^{M}{R_{j,k}}^{2}}} \right\} \cdot \left\{ {\sum\limits_{j = 1}^{N}{\sum\limits_{k = 1}^{M}{Z_{j,k}}^{2}}} \right\}}$

where: ρ_(overall−1) is the first overall modulation accuracy; j is an index designating an elementary unit of signals; N is a summation limit designating a number of elementary units; k is an index designating a sample in the elementary unit; M is a summation limit designating a number of samples in the elementary unit; Z_(j,k)=z[M(j−1)+k] is a k_(th) sample in the j_(th) elementary unit of the filtered signal; and R_(j,k)=r[M(j−1)+k] is a k_(th) sample in the j_(th) elementary unit of the ideal signal.
 13. The apparatus of claim 11, further comprising means for calculating a second overall modulation accuracy.
 14. The apparatus of claim 13, wherein the means for calculating a second modulation accuracy comprises means for calculating in accordance with the following equation: $\rho_{{overall}\text{-}2} = \frac{N \cdot {\sum\limits_{j = 1}^{N}{{\sum\limits_{k = {\frac{M}{2} + 1}}^{M + \frac{M}{2} + 1}{Z_{j,k}R_{j,k}^{*}}}}^{2}}}{\left\{ {\sum\limits_{j = 1}^{N}{\sum\limits_{k = {\frac{M}{2} + 1}}^{M + \frac{M}{2} + 1}{R_{j,k}}^{2}}} \right\} \cdot \left\{ {\sum\limits_{j = 1}^{N}{\sum\limits_{k = {\frac{M}{2} + 1}}^{M + \frac{M}{2} + 1}{Z_{j,k}}^{2}}} \right\}}$

where: ρ_(overall−2) is the second modulation accuracy; j is an index designating an elementary unit of signals; N is a summation limit designating a number of elementary units; k is an index designating a sample in the elementary unit; M is a summation limit designating a number of samples in the elementary unit; $Z_{j,k} = {z\left\lbrack {{\left( {M + \frac{M}{2} + 1} \right) \cdot \left( {j - 1} \right)} + k} \right\rbrack}$

is a k_(th) sample in the j_(th) elementary unit of the filtered signal; and $R_{j,k} = {r\left\lbrack {{\left( {M + \frac{M}{2} + 1} \right) \cdot \left( {j - 1} \right)} + k} \right\rbrack}$

is a k_(th) sample in the j_(th) elementary unit of the ideal signal.
 15. The apparatus of claim 4, wherein the means for determining the waveform quality comprises means for calculating a modulation accuracy for a time division channel.
 16. The apparatus of claim 15, wherein the means for calculating a modulation accuracy for a time division channel comprises means for calculating in accordance with the following equation: $\rho_{TDM\_ channel} = \frac{N \cdot {\sum\limits_{j = 1}^{N}{{\sum\limits_{k = 1}^{M}{Z_{j,k}R_{j,k}^{*}}}}^{2}}}{\left\{ {\sum\limits_{j = 1}^{N}{\sum\limits_{k = 1}^{M}{R_{j,k}}^{2}}} \right\} \cdot \left\{ {\sum\limits_{j = 1}^{N}{\sum\limits_{k = 1}^{M}{Z_{j,k}}^{2}}} \right\}}$

where: ρ_(TDM) _(—) _(channel) is the modulation accuracy for the time division channel TDM_channel; j is an index designating an elementary unit of signals; N is a summation limit designating a number of elementary units; k is an index designating a sample in the elementary unit; M is a summation limit designating a number of samples in the elementary unit; Z_(j,k)=z[M(j−1)+k] is a k_(th) sample in the j_(th) elementary unit of the filtered signal; and R_(j,k)=r[M(j−1)+k] is a kth sample in the jth elementary unit of the ideal signal.
 17. The apparatus of claim 4, wherein the means for determining the waveform quality measurement comprises means for calculating code domain power coefficients.
 18. The apparatus of claim 17, wherein the means for calculating code domain power coefficients comprises means for calculating in accordance with the following equation: ${\rho_{{TDM\_ channel},i} = \frac{N \cdot {\sum\limits_{j = 1}^{N}{{\sum\limits_{k = 1}^{M}{Z_{j,k}R_{i,j,k}^{\prime*}}}}^{2}}}{\left\{ {\sum\limits_{j = 1}^{N}{\sum\limits_{k = 1}^{M}{R_{i,j,k}^{\prime}}^{2}}} \right\} \cdot \left\{ {\sum\limits_{j = 1}^{N}{\sum\limits_{k = 1}^{M}{Z_{j,k}}^{2}}} \right\}}},{i = w_{1}},\ldots \quad,w_{v}$

where: ρ_(TDM) _(—) _(channel,i) is the code domain coefficient for a time division channel TDM_channel and a code channel i; w1 is a first code channel for the time division channel TDM_channel; wv is a last code channel for time division channel TDM_channel; j is an index designating an elementary unit of signals; N is a summation limit designating a number of elementary units; k is an index designating a sample in the elementary unit; M is a summation limit designating a number of samples in the elementary unit; Z_(j,k)=z[M(j−1)+k] is a kth sample in the jth elementary unit of the filtered signal; and R_(i,j,k)′=R_(i)′[M(j−1)+k] is a kth sample in the jth elementary unit of the i-th code channel of the ideal signal. 